<script setup lang="ts">
import {RouterLink} from "vue-router"
import {ref} from "vue"
// 导入vuex仓库
import store from "../stores"

let navlist = ref([])


</script>

<template>
    <a-breadcrumb>
       <!-- {{store.state.navList}}00000 -->
    <a-breadcrumb-item><RouterLink to="/home">首页</RouterLink></a-breadcrumb-item>

    <a-breadcrumb-item v-for="(item,index) in store.state.navList" :key="index">{{item}}</a-breadcrumb-item>

  </a-breadcrumb>

</template>